﻿using System;

namespace UnitTestSample_1
{
    public class Switch
    {
        public void Test(int x)
        {
            switch (x)
            {
                case 0:
                    x++;
                    break;

                case 1:
                    x += 2;
                    break;

                default:
                    x *= 2;
                    break;
            }
        }
    }
}
